package com.cskaoyan.order.dal.persistence;


import com.cskaoyan.order.dal.entitys.Order;
import com.cskaoyan.order.dto.OrderDetailInfo;
import com.cskaoyan.order.dto.OrderDetailNewResponse;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface OrderMapper extends Mapper<Order> {
    Long countAll();

    List<OrderDetailInfo> orderList(Long userId);

    int cancelOrderDetail(String orderId);

    OrderDetailNewResponse selectOrderDetail(String orderId);
}